package com.neuedu.mybatis.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class ProductOrder implements Serializable {


    List<OrderDetail> orderDetailList;

    public List<OrderDetail> getOrderDetailList() {
        return orderDetailList;
    }

    public void setOrderDetailList(List<OrderDetail> orderDetailList) {
        this.orderDetailList = orderDetailList;
    }

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column product_order.order_id
     *
     * @mbg.generated Thu Mar 07 13:58:34 CST 2024
     */
    private Integer orderId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column product_order.createtime
     *
     * @mbg.generated Thu Mar 07 13:58:34 CST 2024
     */
    private Date createtime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column product_order.amount
     *
     * @mbg.generated Thu Mar 07 13:58:34 CST 2024
     */
    private BigDecimal amount;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column product_order.addressee
     *
     * @mbg.generated Thu Mar 07 13:58:34 CST 2024
     */
    private String addressee;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column product_order.address
     *
     * @mbg.generated Thu Mar 07 13:58:34 CST 2024
     */
    private String address;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column product_order.status
     *
     * @mbg.generated Thu Mar 07 13:58:34 CST 2024
     */
    private String status;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table product_order
     *
     * @mbg.generated Thu Mar 07 13:58:34 CST 2024
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column product_order.order_id
     *
     * @return the value of product_order.order_id
     *
     * @mbg.generated Thu Mar 07 13:58:34 CST 2024
     */
    public Integer getOrderId() {
        return orderId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column product_order.order_id
     *
     * @param orderId the value for product_order.order_id
     *
     * @mbg.generated Thu Mar 07 13:58:34 CST 2024
     */
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column product_order.createtime
     *
     * @return the value of product_order.createtime
     *
     * @mbg.generated Thu Mar 07 13:58:34 CST 2024
     */
    public Date getCreatetime() {
        return createtime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column product_order.createtime
     *
     * @param createtime the value for product_order.createtime
     *
     * @mbg.generated Thu Mar 07 13:58:34 CST 2024
     */
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column product_order.amount
     *
     * @return the value of product_order.amount
     *
     * @mbg.generated Thu Mar 07 13:58:34 CST 2024
     */
    public BigDecimal getAmount() {
        return amount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column product_order.amount
     *
     * @param amount the value for product_order.amount
     *
     * @mbg.generated Thu Mar 07 13:58:34 CST 2024
     */
    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column product_order.addressee
     *
     * @return the value of product_order.addressee
     *
     * @mbg.generated Thu Mar 07 13:58:34 CST 2024
     */
    public String getAddressee() {
        return addressee;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column product_order.addressee
     *
     * @param addressee the value for product_order.addressee
     *
     * @mbg.generated Thu Mar 07 13:58:34 CST 2024
     */
    public void setAddressee(String addressee) {
        this.addressee = addressee == null ? null : addressee.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column product_order.address
     *
     * @return the value of product_order.address
     *
     * @mbg.generated Thu Mar 07 13:58:34 CST 2024
     */
    public String getAddress() {
        return address;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column product_order.address
     *
     * @param address the value for product_order.address
     *
     * @mbg.generated Thu Mar 07 13:58:34 CST 2024
     */
    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column product_order.status
     *
     * @return the value of product_order.status
     *
     * @mbg.generated Thu Mar 07 13:58:34 CST 2024
     */
    public String getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column product_order.status
     *
     * @param status the value for product_order.status
     *
     * @mbg.generated Thu Mar 07 13:58:34 CST 2024
     */
    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table product_order
     *
     * @mbg.generated Thu Mar 07 13:58:34 CST 2024
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", orderId=").append(orderId);
        sb.append(", createtime=").append(createtime);
        sb.append(", amount=").append(amount);
        sb.append(", addressee=").append(addressee);
        sb.append(", address=").append(address);
        sb.append(", status=").append(status);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}